import request from '@/utils/request'

// 查询识别记录列表
export function listRecord_notice(query) {
  return request({
    url: '/business/record_notice/list',
    method: 'get',
    params: query
  })
}

// 查询识别记录详细
export function getRecord_notice(recordNoticeId) {
  return request({
    url: '/business/record_notice/' + recordNoticeId,
    method: 'get'
  })
}

// 新增识别记录
export function addRecord_notice(data) {
  return request({
    url: '/business/record_notice',
    method: 'post',
    data: data
  })
}

// 修改识别记录
export function updateRecord_notice(data) {
  return request({
    url: '/business/record_notice',
    method: 'put',
    data: data
  })
}

// 删除识别记录
export function delRecord_notice(recordNoticeId) {
  return request({
    url: '/business/record_notice/' + recordNoticeId,
    method: 'delete'
  })
}

// 导出识别记录
export function exportRecord_notice(query) {
  return request({
    url: '/business/record_notice/export',
    method: 'get',
    params: query
  })
}